package com.imooc.product.dto;

import lombok.Data;

/**
 * CartDTO
 * 购物车
 *
 * @author leon.cheng
 * @date 2018/11/20 17:30
 **/
@Data
public class CartDTO {
    /**
     * 商品编号
     */
    private String productId;
    /**
     * 商品数量
     */
    private Integer productQuantity;

    public CartDTO() {
    }

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
